package com.calligraphy.order.repository;

import com.calligraphy.order.model.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author hy
 * @Date 2019/1/2 10:17
 **/
public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {

    Page<OrderMaster> findByBuyerId(String buyerId, Pageable pageable);
}

